package com.jiankang.askhealth.core.transmitter.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TransmitterExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart = -1;

    protected int limitMaxSize = -1;

    public TransmitterExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setLimitMaxSize(int limitMaxSize) {
        this.limitMaxSize=limitMaxSize;
    }

    public int getLimitMaxSize() {
        return limitMaxSize;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTransmitterIdIsNull() {
            addCriterion("transmitter_id is null");
            return (Criteria) this;
        }

        public Criteria andTransmitterIdIsNotNull() {
            addCriterion("transmitter_id is not null");
            return (Criteria) this;
        }

        public Criteria andTransmitterIdEqualTo(Integer value) {
            addCriterion("transmitter_id =", value, "transmitterId");
            return (Criteria) this;
        }

        public Criteria andTransmitterIdNotEqualTo(Integer value) {
            addCriterion("transmitter_id <>", value, "transmitterId");
            return (Criteria) this;
        }

        public Criteria andTransmitterIdGreaterThan(Integer value) {
            addCriterion("transmitter_id >", value, "transmitterId");
            return (Criteria) this;
        }

        public Criteria andTransmitterIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("transmitter_id >=", value, "transmitterId");
            return (Criteria) this;
        }

        public Criteria andTransmitterIdLessThan(Integer value) {
            addCriterion("transmitter_id <", value, "transmitterId");
            return (Criteria) this;
        }

        public Criteria andTransmitterIdLessThanOrEqualTo(Integer value) {
            addCriterion("transmitter_id <=", value, "transmitterId");
            return (Criteria) this;
        }

        public Criteria andTransmitterIdIn(List<Integer> values) {
            addCriterion("transmitter_id in", values, "transmitterId");
            return (Criteria) this;
        }

        public Criteria andTransmitterIdNotIn(List<Integer> values) {
            addCriterion("transmitter_id not in", values, "transmitterId");
            return (Criteria) this;
        }

        public Criteria andTransmitterIdBetween(Integer value1, Integer value2) {
            addCriterion("transmitter_id between", value1, value2, "transmitterId");
            return (Criteria) this;
        }

        public Criteria andTransmitterIdNotBetween(Integer value1, Integer value2) {
            addCriterion("transmitter_id not between", value1, value2, "transmitterId");
            return (Criteria) this;
        }

        public Criteria andAreaidIsNull() {
            addCriterion("areaid is null");
            return (Criteria) this;
        }

        public Criteria andAreaidIsNotNull() {
            addCriterion("areaid is not null");
            return (Criteria) this;
        }

        public Criteria andAreaidEqualTo(String value) {
            addCriterion("areaid =", value, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidNotEqualTo(String value) {
            addCriterion("areaid <>", value, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidGreaterThan(String value) {
            addCriterion("areaid >", value, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidGreaterThanOrEqualTo(String value) {
            addCriterion("areaid >=", value, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidLessThan(String value) {
            addCriterion("areaid <", value, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidLessThanOrEqualTo(String value) {
            addCriterion("areaid <=", value, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidLike(String value) {
            addCriterion("areaid like", value, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidNotLike(String value) {
            addCriterion("areaid not like", value, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidIn(List<String> values) {
            addCriterion("areaid in", values, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidNotIn(List<String> values) {
            addCriterion("areaid not in", values, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidBetween(String value1, String value2) {
            addCriterion("areaid between", value1, value2, "areaid");
            return (Criteria) this;
        }

        public Criteria andAreaidNotBetween(String value1, String value2) {
            addCriterion("areaid not between", value1, value2, "areaid");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andMmsIsNull() {
            addCriterion("mms is null");
            return (Criteria) this;
        }

        public Criteria andMmsIsNotNull() {
            addCriterion("mms is not null");
            return (Criteria) this;
        }

        public Criteria andMmsEqualTo(String value) {
            addCriterion("mms =", value, "mms");
            return (Criteria) this;
        }

        public Criteria andMmsNotEqualTo(String value) {
            addCriterion("mms <>", value, "mms");
            return (Criteria) this;
        }

        public Criteria andMmsGreaterThan(String value) {
            addCriterion("mms >", value, "mms");
            return (Criteria) this;
        }

        public Criteria andMmsGreaterThanOrEqualTo(String value) {
            addCriterion("mms >=", value, "mms");
            return (Criteria) this;
        }

        public Criteria andMmsLessThan(String value) {
            addCriterion("mms <", value, "mms");
            return (Criteria) this;
        }

        public Criteria andMmsLessThanOrEqualTo(String value) {
            addCriterion("mms <=", value, "mms");
            return (Criteria) this;
        }

        public Criteria andMmsLike(String value) {
            addCriterion("mms like", value, "mms");
            return (Criteria) this;
        }

        public Criteria andMmsNotLike(String value) {
            addCriterion("mms not like", value, "mms");
            return (Criteria) this;
        }

        public Criteria andMmsIn(List<String> values) {
            addCriterion("mms in", values, "mms");
            return (Criteria) this;
        }

        public Criteria andMmsNotIn(List<String> values) {
            addCriterion("mms not in", values, "mms");
            return (Criteria) this;
        }

        public Criteria andMmsBetween(String value1, String value2) {
            addCriterion("mms between", value1, value2, "mms");
            return (Criteria) this;
        }

        public Criteria andMmsNotBetween(String value1, String value2) {
            addCriterion("mms not between", value1, value2, "mms");
            return (Criteria) this;
        }

        public Criteria andHertzIsNull() {
            addCriterion("hertz is null");
            return (Criteria) this;
        }

        public Criteria andHertzIsNotNull() {
            addCriterion("hertz is not null");
            return (Criteria) this;
        }

        public Criteria andHertzEqualTo(String value) {
            addCriterion("hertz =", value, "hertz");
            return (Criteria) this;
        }

        public Criteria andHertzNotEqualTo(String value) {
            addCriterion("hertz <>", value, "hertz");
            return (Criteria) this;
        }

        public Criteria andHertzGreaterThan(String value) {
            addCriterion("hertz >", value, "hertz");
            return (Criteria) this;
        }

        public Criteria andHertzGreaterThanOrEqualTo(String value) {
            addCriterion("hertz >=", value, "hertz");
            return (Criteria) this;
        }

        public Criteria andHertzLessThan(String value) {
            addCriterion("hertz <", value, "hertz");
            return (Criteria) this;
        }

        public Criteria andHertzLessThanOrEqualTo(String value) {
            addCriterion("hertz <=", value, "hertz");
            return (Criteria) this;
        }

        public Criteria andHertzLike(String value) {
            addCriterion("hertz like", value, "hertz");
            return (Criteria) this;
        }

        public Criteria andHertzNotLike(String value) {
            addCriterion("hertz not like", value, "hertz");
            return (Criteria) this;
        }

        public Criteria andHertzIn(List<String> values) {
            addCriterion("hertz in", values, "hertz");
            return (Criteria) this;
        }

        public Criteria andHertzNotIn(List<String> values) {
            addCriterion("hertz not in", values, "hertz");
            return (Criteria) this;
        }

        public Criteria andHertzBetween(String value1, String value2) {
            addCriterion("hertz between", value1, value2, "hertz");
            return (Criteria) this;
        }

        public Criteria andHertzNotBetween(String value1, String value2) {
            addCriterion("hertz not between", value1, value2, "hertz");
            return (Criteria) this;
        }

        public Criteria andLoveNumIsNull() {
            addCriterion("love_num is null");
            return (Criteria) this;
        }

        public Criteria andLoveNumIsNotNull() {
            addCriterion("love_num is not null");
            return (Criteria) this;
        }

        public Criteria andLoveNumEqualTo(Integer value) {
            addCriterion("love_num =", value, "loveNum");
            return (Criteria) this;
        }

        public Criteria andLoveNumNotEqualTo(Integer value) {
            addCriterion("love_num <>", value, "loveNum");
            return (Criteria) this;
        }

        public Criteria andLoveNumGreaterThan(Integer value) {
            addCriterion("love_num >", value, "loveNum");
            return (Criteria) this;
        }

        public Criteria andLoveNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("love_num >=", value, "loveNum");
            return (Criteria) this;
        }

        public Criteria andLoveNumLessThan(Integer value) {
            addCriterion("love_num <", value, "loveNum");
            return (Criteria) this;
        }

        public Criteria andLoveNumLessThanOrEqualTo(Integer value) {
            addCriterion("love_num <=", value, "loveNum");
            return (Criteria) this;
        }

        public Criteria andLoveNumIn(List<Integer> values) {
            addCriterion("love_num in", values, "loveNum");
            return (Criteria) this;
        }

        public Criteria andLoveNumNotIn(List<Integer> values) {
            addCriterion("love_num not in", values, "loveNum");
            return (Criteria) this;
        }

        public Criteria andLoveNumBetween(Integer value1, Integer value2) {
            addCriterion("love_num between", value1, value2, "loveNum");
            return (Criteria) this;
        }

        public Criteria andLoveNumNotBetween(Integer value1, Integer value2) {
            addCriterion("love_num not between", value1, value2, "loveNum");
            return (Criteria) this;
        }

        public Criteria andDibblingNumIsNull() {
            addCriterion("dibbling_num is null");
            return (Criteria) this;
        }

        public Criteria andDibblingNumIsNotNull() {
            addCriterion("dibbling_num is not null");
            return (Criteria) this;
        }

        public Criteria andDibblingNumEqualTo(Long value) {
            addCriterion("dibbling_num =", value, "dibblingNum");
            return (Criteria) this;
        }

        public Criteria andDibblingNumNotEqualTo(Long value) {
            addCriterion("dibbling_num <>", value, "dibblingNum");
            return (Criteria) this;
        }

        public Criteria andDibblingNumGreaterThan(Long value) {
            addCriterion("dibbling_num >", value, "dibblingNum");
            return (Criteria) this;
        }

        public Criteria andDibblingNumGreaterThanOrEqualTo(Long value) {
            addCriterion("dibbling_num >=", value, "dibblingNum");
            return (Criteria) this;
        }

        public Criteria andDibblingNumLessThan(Long value) {
            addCriterion("dibbling_num <", value, "dibblingNum");
            return (Criteria) this;
        }

        public Criteria andDibblingNumLessThanOrEqualTo(Long value) {
            addCriterion("dibbling_num <=", value, "dibblingNum");
            return (Criteria) this;
        }

        public Criteria andDibblingNumIn(List<Long> values) {
            addCriterion("dibbling_num in", values, "dibblingNum");
            return (Criteria) this;
        }

        public Criteria andDibblingNumNotIn(List<Long> values) {
            addCriterion("dibbling_num not in", values, "dibblingNum");
            return (Criteria) this;
        }

        public Criteria andDibblingNumBetween(Long value1, Long value2) {
            addCriterion("dibbling_num between", value1, value2, "dibblingNum");
            return (Criteria) this;
        }

        public Criteria andDibblingNumNotBetween(Long value1, Long value2) {
            addCriterion("dibbling_num not between", value1, value2, "dibblingNum");
            return (Criteria) this;
        }

        public Criteria andCommentNumIsNull() {
            addCriterion("comment_num is null");
            return (Criteria) this;
        }

        public Criteria andCommentNumIsNotNull() {
            addCriterion("comment_num is not null");
            return (Criteria) this;
        }

        public Criteria andCommentNumEqualTo(Integer value) {
            addCriterion("comment_num =", value, "commentNum");
            return (Criteria) this;
        }

        public Criteria andCommentNumNotEqualTo(Integer value) {
            addCriterion("comment_num <>", value, "commentNum");
            return (Criteria) this;
        }

        public Criteria andCommentNumGreaterThan(Integer value) {
            addCriterion("comment_num >", value, "commentNum");
            return (Criteria) this;
        }

        public Criteria andCommentNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("comment_num >=", value, "commentNum");
            return (Criteria) this;
        }

        public Criteria andCommentNumLessThan(Integer value) {
            addCriterion("comment_num <", value, "commentNum");
            return (Criteria) this;
        }

        public Criteria andCommentNumLessThanOrEqualTo(Integer value) {
            addCriterion("comment_num <=", value, "commentNum");
            return (Criteria) this;
        }

        public Criteria andCommentNumIn(List<Integer> values) {
            addCriterion("comment_num in", values, "commentNum");
            return (Criteria) this;
        }

        public Criteria andCommentNumNotIn(List<Integer> values) {
            addCriterion("comment_num not in", values, "commentNum");
            return (Criteria) this;
        }

        public Criteria andCommentNumBetween(Integer value1, Integer value2) {
            addCriterion("comment_num between", value1, value2, "commentNum");
            return (Criteria) this;
        }

        public Criteria andCommentNumNotBetween(Integer value1, Integer value2) {
            addCriterion("comment_num not between", value1, value2, "commentNum");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeIsNull() {
            addCriterion("create_datetime is null");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeIsNotNull() {
            addCriterion("create_datetime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeEqualTo(Date value) {
            addCriterion("create_datetime =", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeNotEqualTo(Date value) {
            addCriterion("create_datetime <>", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeGreaterThan(Date value) {
            addCriterion("create_datetime >", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_datetime >=", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeLessThan(Date value) {
            addCriterion("create_datetime <", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeLessThanOrEqualTo(Date value) {
            addCriterion("create_datetime <=", value, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeIn(List<Date> values) {
            addCriterion("create_datetime in", values, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeNotIn(List<Date> values) {
            addCriterion("create_datetime not in", values, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeBetween(Date value1, Date value2) {
            addCriterion("create_datetime between", value1, value2, "createDatetime");
            return (Criteria) this;
        }

        public Criteria andCreateDatetimeNotBetween(Date value1, Date value2) {
            addCriterion("create_datetime not between", value1, value2, "createDatetime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}